Micron Document
🎖️GitЯра🎖️

Node / meshtastic / Meshtastic-Android / files / build-logic / convention / src / main / kotlin / AndroidApplicationFlavorsConventionPlugin.kt

Displaying Raw • Download

build-logic/convention/src/main/kotlin/AndroidApplicationFlavorsConventionPlugin.kt bd2863243bab6eb213401d949839a2bc74dde7e2 (bd286324) Text, 1.53 KB

T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72import T7ee787com.android.build.api.dsl.ApplicationExtension
Tff7b72import T7ee787org.gradle.api.Plugin
Tff7b72import T7ee787org.gradle.api.Project
Tff7b72import T7ee787org.gradle.kotlin.dsl.configure
Tff7b72import T7ee787org.meshtastic.buildlogic.configureFlavors

T8b949e/**
* Flavor configuration for Android applications.
*
* Optimization note: This is nearly identical to AndroidLibraryFlavorsConventionPlugin. The underlying
* configureFlavors() function already handles both ApplicationExtension and LibraryExtension. Could be consolidated
* into a single plugin accepting CommonExtension, but kept separate for now to maintain explicit intent in
* build.gradle.kts declarations.
*/
Tff7b72class T56d364AndroidApplicationFlavorsConventionPlugin Tb4b4b4: Te6edf3PluginTff7b72<Te6edf3ProjectTff7b72> Tb4b4b4{
Tff7b72override Tff7b72fun Td2a8ffapplyTb4b4b4(Te6edf3targetTb4b4b4: Te6edf3ProjectTb4b4b4) Tb4b4b4{
Te6edf3withTb4b4b4(Te6edf3targetTb4b4b4) Tb4b4b4{ Te6edf3extensionsTb4b4b4.Te6edf3configureTff7b72<Te6edf3ApplicationExtensionTff7b72> Tb4b4b4{ Te6edf3configureFlavorsTb4b4b4(Tff7b72thisTb4b4b4) Tb4b4b4} Tb4b4b4}
Tb4b4b4}
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.05s